package com.sunyard.demo.mapper;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunyard.demo.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zyl
 * @description
 * @since 2025/6/23
 */
public interface UserMapper extends BaseMapper<User> {
    User selectListById(@Param("user") User user);
    User selectListById2(@Param("id") Long id, @Param("names") List<String> names);
    User selectListById3(@Param("user") User user, @Param("nameList") List<String> nameList);

    User selectListById4(@Param("ew") LambdaUpdateWrapper<User> eq);
}
